Skip to content

ci: move production builds to Cloudflare - #4

Merged
fabianzimber merged 1 commit into
mainfrom
ci/cloudflare-builds
Oct 14, 2026
Merged

fabianzimber merged 1 commit into
mainfrom
ci/cloudflare-builds

Conversation

@fabianzimber

Copy link
Copy Markdown
Member

Production checks and deployments currently wait for self-hosted GitHub runners. Run all GitHub checks on ubuntu-latest, remove the GitHub deployment job, and add pnpm build:cloudflare for Cloudflare Workers Builds. It installs the frozen lockfile, runs typecheck, biome ci, tests and the production build before Cloudflare invokes Wrangler. Keep the required check name unchanged.

Document the existing Worker's Git connection, main-only builds, pinned pnpm version, deployment command and manual retries. The Worker configuration, domains and bindings are unchanged.

Validation: CI=true pnpm run build:cloudflare passed in the clean worktree with Node 24 and pnpm 12.8.1 (69 tests, all five prerendered pages). Workflow YAML parses and git diff --check passes.

Activation is still required in the Cloudflare account: this session has no Cloudflare credentials or connected dashboard. Merge this workflow change, then connect/configure Workers Builds using the exact settings. Until that connection is active, pushes will only run GitHub checks and will not deploy. The first live Cloudflare build has not been verified.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Success ✅

View logs ↗
No Preview URL. Enable ↗ c304107 2026-10-14T10:18:59.460Z Visit the dashboard ↗

@fabianzimber
fabianzimber merged commit 916db84 into main Oct 14, 2026
3 of 4 checks passed
@fabianzimber
fabianzimber deleted the ci/cloudflare-builds branch October 14, 2026 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant